<?php
	/**
	* 
	*/
	class Login_model extends CI_Model
	{
		
		function __construct()
		{
			parent::__construct();
		}
		function get_user_by_id($id){
			$this->db->where("username",$id);
			$query = $this->db->get("tbl_user");
			return $query->row_array();
		}
	}
?>